boot volume full


Server Admin 10.5 Help


Removing Updates from a Software Update Server

When your local Software Update server downloads updates from Apple Software Update servers, the update packages remain on the local Software Update server until you delete them. These instructions describe how to manually delete updates.

To remove a specific software update:

  1. On the local Software Update server, open Terminal and enter the following command to list the folders that correspond to each software update:
    $ grep swupd /etc/swupd/com.apple.server.swupdate.plist > ~/Desktop/update_list.txt

    This creates a file on your Desktop named update_list.txt. The file contains a list of software updates stored on the server.

  2. Open the update_list.txt file.

    This file contains information similar to the following:

    <string>/usr/share/swupd/html/061-2036/.../SecUpd2005-007Ri.tar</string>
    <string>/usr/share/swupd/html/061-2048/.../SafariUpdate-2.0.1.tar</string>

    Each update resides in a folder. In this example, the folder /061-2048/ stores the Safari 2.0.1 update.

  3. In Terminal, enter the following command to delete a software update from the server:
    $ sudo rm -rf /usr/share/swupd/html/updatefolder/

    Replace updatefolder with the name of the folder that stores the software update you want to delete.

    For example, to remove the Safari 2.0.1 update, you would enter the following command:

    $ sudo rm -rf /usr/share/swupd/html/061-2048/
  4. When prompted, enter your administrator password.